// SkinResMgr.h: interface for the CSkinResMgr class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SKINRESMGR_H__C15F4C69_39A5_4D8E_958A_694E43690780__INCLUDED_)
#define AFX_SKINRESMGR_H__C15F4C69_39A5_4D8E_958A_694E43690780__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

struct CSkinResDes
{
	CString m_strType;
	BYTE* m_pStart;
	int m_nLength;
};

class CSkinResMgr : public CObject  
{
public:
	CSkinResMgr();
	virtual ~CSkinResMgr();

private:
	CFile m_fileSkin;

public:
	//BYTE* GetSkinRes(CString strWndType, CString strResIndex, int* pNum);
	BOOL DeleteSkinResData(BYTE* pData);
	CSkinResDes GetSkinRes(CString strWndType, CString strResIndex);
	BOOL LoadFromFile(CString strPath);
	BOOL CloseSkinFile();

	/* Not Implementation*/
	HBITMAP GetSkinResBitmap(CString strWndType, CString strResIndex);
	int GetSkinResInt(CString strWndType, CString strResIndex);
	CRect GetSkinResRect(CString strWndType, CString strResIndex);
};

#endif // !defined(AFX_SKINRESMGR_H__C15F4C69_39A5_4D8E_958A_694E43690780__INCLUDED_)
